#!/bin/bash
echo "======start build======="
protoc -o ./$1.pb ./$1
echo "======build xxx.pb finished======="
protoc --cpp_out=. $1
echo "======build x.h  xx.cc finished======"